<%@ include file="/WEB-INF/jsp/include/head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%><%@ taglib uri="http://geeksaga.com/pagination-taglib" prefix="bbs" %>
<html>
<head>
    <%@ include file="/WEB-INF/jsp/include/manager_title.jsp" %>
    <%@ include file="/WEB-INF/jsp/include/common_css.jsp" %>
    <link rel="stylesheet" type="text/css" media="screen" href="<c:url value="/css/skin/default/default.css"/>"/>
    <%@ include file="/WEB-INF/jsp/include/common_script.jsp" %>
</head>
<body>
   <%@ include file="/WEB-INF/jsp/include/manager_top.jsp" %>
    <form:form id="frmBbs" method="post" action="list.do" commandName="category" modelAttribute="category">
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <c:if test="${total == 0}">
                <tr>
                    <td colspan="4" align="center"><spring:message code="bbs.msg.empty"/></td>
                </tr>
                </c:if>
                <c:forEach items="${list}" var="category" varStatus="status">
                <tr onmouseover="this.style.backgroundColor='#f1f6fb'" onmouseout="this.style.backgroundColor='#fefefe'">
                    <td>
                    	${category.targetId}
                    </td>
                    <td align="left">
                    	${category.categoryName}
                    </td>
                    <td>
                    	${category.totalCnt}
                    </td>
                    <td>
                    	${category.modifyTimestamp}
                    </td>
                </tr>
                </c:forEach>
            </tbody>
        </table>
        <a href="edit.do">add</a>
    </form:form>
<%@ include file="/WEB-INF/jsp/include/footer.jsp" %>
</body> 
</html>